]> dgit.raspbian.org Git - gnome-shell.git/commit
eslint: (Mostly) synchronize configuration with gjs
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 12 Aug 2021 15:12:15 +0000 (17:12 +0200)
committerMarge Bot <marge-bot@gnome.org>
Tue, 24 Aug 2021 08:13:19 +0000 (08:13 +0000)
commitbf5129adc121c0292209bc3fc6ce1dc068fae89e
tree4496caa7656fd9e1c5653fb585eccffec1622b5a
parenta802bfda3911c6e6681dda3dd7d133373cd88d9b
eslint: (Mostly) synchronize configuration with gjs

In addition to the changes in this commit, gjs now
restricts the use of the Format module and initFormat.
We can't really replace those for translatable strings
until xgettext gains support for template strings, so
leave that bit out for now.

The other notable change is that gjs now requires
jsdoc comments. We can't plainly enable those options
without a massive amount of work first, but let's see
how requiring doc comments for new code goes.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1949>
lint/eslintrc-gjs.yml
lint/eslintrc-legacy.yml